/*  COLORS

Red: #DC0050FF
Blue: #006EDB
Green: #124347
Dark grey: #1D1D1D
Light grey: #757575


 */

*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
}
body {
  height: 100%;
  font-family: "Red Hat Display", sans-serif;
  font-optical-sizing: auto;
  overflow-x: hidden!important;

}

::selection{
  color: white;
  background: #DC0050FF;
}
header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px 5%;
  z-index: 1;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard syntax */
}
.logo {
  cursor: pointer;
  height: 75px;
  display: block;
}
.logo-inline-button {
  display: flex;
  justify-content: space-around;
  display: none;
}
.logo-inline {
  cursor: pointer;
  height: 75px;
}
.no-scroll {
    overflow: hidden; /* Disabilita lo scroll verticale */
    height: 100vh; /* Impedisce lo scroll dell'intera pagina */
}

.nav_links li {
  font-family: "Funnel Display", serif;
  font-weight: 500;
  font-size: 18px;
  display: inline-block;
  padding: 0px 20px;
}
.nav_links a:hover {
  color: #469d89;
  font-size: 20px;
  letter-spacing: 2px;
  transition: all 0.3s ease-in-out;
}

.nav_links a:not(:hover) {
  color: #124347;
  font-size: 20px;
  letter-spacing:1px;
  transition: all 0.4s ease-in-out;
}

.language-button {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
}

.page-lang {
  color: #fff;
  background-color: #124347;
  text-align: center;
}
.pg-it {
  border-radius: 3px 0px 0px 3px;
  padding: 1px 4px 1px 5.5px;
}
.pg-en {
  border-radius: 0px 3px 3px 0px;
  padding: 1px 4.3px 1px 4px;
}

.translate {
  color: #124347;
}
.translate:hover {
  color: #469d89;
  transition: all 0.1s ease-in-out;
}
.translate:not(:hover) {
  text-decoration: none;
  color: #124347;
  transition: all 0.2s ease-in-out;
}

.language-button-responsive {
  display: none;
}

.ita-span {
  letter-spacing: 2px;
  text-align: center;
  padding: 0;
  margin: 0;
  position: relative;
}

.inv-lb .translate {
  color: #fff;
}
.inv-lb .page-lang {
  background-color: #0087E1;
}
.inv-lb .translate:hover {
  color: #0087E1;
  transition: all 0.1s ease-in-out;
}
.inv-lb .translate:not(:hover) {
  color: #fff;
  transition: all 0.2s ease-in-out;
}

#icon{
  color: #124347;
  font-size: 35px;
  align-self: center;
  cursor: pointer;
  display: none;
}


/*  HEADER END   */


.section {
  height: 100vh;
  text-align: center;
  color: white;
  background-image: url('../img/hamburger.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
  display: flex;
  justify-content: space-between;
}

.p1-p1_1 {
  line-height: 70px;
  padding-bottom: 30px;
  font-size: 65px;
  font-weight: 800;
}
.tag {
  background-color: #DC0050FF;
  text-align: left;
  height: 600px;
  width: 610px;
  padding-top: 160px;
  padding-left: 70px;
  border-radius: 50%;
  position: absolute;
  top: 150px;
  left: -30px;
}

.tag_2 {
  display: flex;
}
.sign-logo {
  flex: 1;
  height: 60px;
  padding-right: 15px;
  align-self: center;
}
.startup-startup_1 {
  display: flex;
  flex-direction: column;
  font-size: 23px!important;
  font-weight: 600;
  flex: 2;
  white-space: nowrap;
}
.startup, .startup_1 {
  flex: 1;
}
iframe {
  all: unset; /* Resetta la maggior parte delle proprietà */
  border: none; /* Rimuove eventuali bordi */
}

.p-container {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}
.p-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.email {
  padding: 5px 0px 30px 0;
}
.email-link {
  padding-top: 10px;
  font-family: "Funnel Display", serif;
  font-weight: 700;
  text-decoration: underline;
}
.email-link:hover {
  color: #DC0050FF;
  transition: 0.2s;
}
.email-link:not(:hover) {
  color: black;
  transition: 0.2s;
}
.tabella-contatti {
  margin-bottom: 50px;
}


#section3 {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  background-color: rgba(0,0,0,0.3);
  color: white;
  font-size: 40px;
  padding: 3%;
  text-align: left;
  border-bottom-right-radius: 45px;
  border-top-right-radius: 45px;
}

.squares-box, .squares-box-2, .squares-box-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.quadrato {
  width: 50%;
  height: 100%;
}

.boxes video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uno, .due, .cinque {
  background-color: white;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

.paragraph-uno {
  font-family: "Red Hat Display", sans-serif;
  height: 65%;
  width: 65%;
}
.paragraph-uno .titoletto {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #393939;   /*  Dark Grey */
  padding-bottom: 15px;
}
.numero {
  font-family: "Funnel Display", serif;
  font-weight: 400;
  font-size: 20px;
}
.paragrafo {
  font-size: 43px;
  font-weight: 400;
  color: black;
  padding-bottom: 13px;
  line-height: 54px;
}
.highlight {
  color: white;
  background-color: #DC0050FF;  /*  Magenta */
}

.clicca-qui {
  font-family: "Red Hat Display", sans-serif;
  text-decoration: underline;
  font-size: 15px;
  color: black;
}

.clicca-qui:hover {
  color: #757575; /*  Light Grey */
  transition: .2s;
}

.due {
  background-color: #1D1D1D;  /*  Darker Grey   */
  color: white;
}

.squares-box-2 .paragrafo {
  color: white;
}
.squares-box-2 .titoletto {
  color: #6C757D;  /*  Lighter Grey  */
}
.squares-box-2 .clicca-qui {
  color: white;
}
.squares-box-2 .clicca-qui:hover {
  color: #6C757D;
  transition: .2s;
}
.sottotitolo {
  line-height: 24px;
}

/*   FOOTER  */

footer {
  position: absolute;
  width: 100%;
  height: auto;
  overflow: hidden;
  background-color: #1D1D1D;
}
.end-page {
  display: flex;
  justify-content: space-between;
  padding: 70px;
  margin-left: 3%;
  margin-right: 3%;
}
.end-page ul li, ul li a {
  color: white;
  font-size: 15px;
  line-height: 40px;
  align-items: center;
}

.quick-links {
  position: relative;
}
.quick-links .li-hover a{
  display: inline-block;
}
.li-hover a:hover {
  color: #DC0050FF;
  transform: translateX(10px);
  transition: 0.5s;
}
.li-hover a:not(:hover) {
  color: white;
  transform: translateX(0);
  transition: 0.5s;
}
.logo-footer {
  height: 110px;
}
.column-2, .column-3 {
  border-left: 1px solid white;
  padding: 0 0 0 10px;
}
.quick-links .li-1 {
  font-size: 20px;
  letter-spacing: 1px;
  color: #4C545D;
}
.company-info .li-1 {
  font-size: 20px;
  color: #4C545D;
}
.company-info .li-2 {
  line-height: 20px;
}
.copyright-box {
  padding: 0 70px 30px 70px;
  margin-left: 3%;
  margin-right: 3%;
}
.fa-chevron-right {
  font-size: 12px;
}
hr {
  color: #6C757D;
  border-top-width: 0.5px;
}

.copyright-box .copyright-flex {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  font-family: "Funnel Display", serif;
  color: white;
}

.footer-name-span {
  color: #DC0050FF;
  font-weight: 600;
}

.credits {
  color: white;
  font-size: 11px;
  padding: 0 70px 0px 70px;
  margin-left: 3%;
  margin-right: 3%;
  margin-bottom: 20px;
}

.credits-inv {
  color: black;
  font-size: 11px;
  padding: 0 70px 0px 70px;
  margin-left: 3%;
  margin-right: 3%;
  margin-bottom: 20px;
}

/*   MISSION PAGE   */

.mission-container {
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 50px;
}
.mission-pic {
  width: 100%!important;
  height: 500px;
  object-fit: cover;
  z-index: -1;
}
.mission-text {
  position: relative;
  z-index: 1;
}
.mission-title, .about-title, .investors-title, .contact-title {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  text-align: center;
  font-family: "Funnel Display", serif;
  font-weight: 800;
  color: white;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard syntax */
}
.mission-title {
  font-size: 320px;
  opacity: 0.8;
}
.about-title {
  display: inline-block;
  font-size: 290px;
  opacity: 0.75;
  white-space: nowrap;
}
.investors-title {
  font-size: 280px;
  opacity: 0.8;
}
.contact-title {
  display: inline-block;
  font-size: 260px;
  opacity: 0.8;
  white-space: nowrap;
}
.mission-one {
  font-family: "Funnel Display", serif;
  font-weight: 500;
  font-size: 60px;
  color: #124347;
  padding-top: 25px;
  padding-bottom: 25px;
}
.span-one {
  color: #DC0050FF; /*dc0050*/
}
.text-body {
padding-left: 50px;
}
.text-body h1 {
  font-family: "Funnel Display", serif;
}
.mission-container .text-body {
  font-family: "Red Hat Display", sans-serif;
  font-size: 20px;
}
.text-box {
  display: flex;
  justify-content: space-between;
}
.acqua {
  background-color:  #124347; /*  green  */
  color: white;
}
.energia {
  background-color: #DC0050FF; /*  magenta  */
  color: white;
}
.gas {
  background-color: #F7F7F7;  /*  lightgrey  */
}
.title-acqua, .title-energia, .title-gas {
  padding-top: 20px;
  padding-bottom: 15px;
}
.title-acqua {
  color: #DC0050FF;
}
.title-gas {
  color: #DC0050FF;
}
.highlight-w {
  background-color: white;
  color: #124347;
}
.highlight-g {
  background-color: #124347;
  color: white;
}
.text-box img {
  padding: 50px;
}

.text-1 {
  padding-bottom: 20px;
  line-height: 33px;
}
.secondo-p {
  padding-bottom: 20px;
}
.text-2 {
  font-size: 15px;  /*  About page */
  padding-bottom: 25px;
}
.text-3 {
  font-size: 25px;  /*  Careers page */
}
.text-4 {
  font-size: 17px;  /*  Careers page */
}
.latte-text {
  padding: 20px 60px 60px 60px;
}
.text-car {
  background-color: #F7F7F7;
}
.text-car .text-body-car {
  text-align: center;
  align-items: center;
  padding: 50px;
}
.azoon-text {
  font-family: "Funnel Display", serif;
  font-weight: 700;
}

/*   INVESTORS PAGE   */

.sfida {
  background-color:  #124347; /*  green  */
  color: white;
}
.tech {
  background-color: #DC0050FF; /*  magenta  */
  color: white;
}
.law {
  background-color: #F7F7F7;  /*  lightgrey  */
}
.title-sfida, .title-tech, .title-law {
  padding: 20px 0 20px 0;
}
.title-sfida {
  color: #DC0050FF;
}
.title-law {
  color: #DC0050FF;
}

.highlight-w {
  background-color: white;
  color: #124347;
}
.highlight-g {
  background-color: #124347;
  color: white;
}

.inv-body {
  background-color: #141414;

}

.nav_links.inv-nav li {
  font-family: "Funnel Display", serif;
  font-weight: 500;
  font-size: 18px;
  display: inline-block;
  padding: 0px 20px;
  color: white;    /* MEDIUM BLUE */
}
.nav_links.inv-nav a:hover {
  color: #fff!important;
  font-size: 20px;
  letter-spacing: 2px;
  transition: all 0.3s ease-in-out;
}

.nav_links.inv-nav a:not(:hover) {
  color: white;
  font-size: 20px;
  letter-spacing:1px;
  transition: all 0.4s ease-in-out;
}


.tech {
  background-color: #0087E1;  /* MEDIUM BLUE*/
}
.sfida {
  background-color: #00304F; /*  DARK-BLUE */
}
.law {
  background-color: #00538A; /* MEDIUM-DARK BLUE */
  color: white;
}
.title-law {
  color: white;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard syntax */
}
.title-sfida {
  color: #0087E1;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard syntax */
}
.highlight-w2 {
  background-color: white;
  color: #0087E1;
}
.highlight-w3 {
  background-color: white;
  color: #00538A;
}

.mission-two {
  font-family: "Funnel Display", serif;
  font-weight: 500;
  font-size: 60px;
  color: white;
  padding-top: 25px;
  padding-bottom: 25px;
}
.span-two {
  color: #0087E1; /*dc0050*/
}

.inv-footer {
  position: absolute;
  width: 100%;
  height: auto;
  overflow: hidden;
  background-color: white;
}
.end-page-inv {
  display: flex;
  justify-content: space-between;
  padding: 70px;
  margin-left: 3%;
  margin-right: 3%;
}
.end-page-inv ul li, ul li a {
  color: #1D1D1D;
  font-size: 15px;
  line-height: 40px;
  align-items: center;
}

.quick-links-inv {
  position: relative;
}
.quick-links-inv .li-hover-inv a{
  display: inline-block;
}
.li-hover-inv a:hover {
  color: #0087E1;
  transform: translateX(10px);
  transition: 0.5s;
}
.li-hover-inv a:not(:hover) {
  color: #1D1D1D;
  transform: translateX(0);
  transition: 0.5s;
}
.logo-footer {
  height: 110px;
}
.column-2-inv, .column-3-inv {
  border-left: 1px solid black;
  padding-left: 7px;
}
.quick-links-inv .li-1-inv {
  font-size: 20px;
  letter-spacing: 1px;
  color: #1D1D1D;
}
.column-3-inv .company-info li {
  color: #1D1D1D;
}
.company-info .li-1-inv {
  font-size: 20px;
}
.company-info .li-2-inv {
  line-height: 20px;
}
.copyright-box {
  padding: 0 70px 30px 70px;
  margin-left: 3%;
  margin-right: 3%;
}
.fa-chevron-right {
  font-size: 12px;
}
hr {
  color: #6C757D;
  border-top-width: 0.5px;
}

.copyright-box .copyright-flex-inv {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  font-family: "Funnel Display", serif;
  color: #1D1D1D;
}

.footer-name-span-inv {
  color: #0087E1;
  font-weight: 600;
}
.highlight-b {
  background-color: #0087E1;
  color: white;
}


/*  CONTACT PAGE   */

.email-link {
  cursor: pointer;
}


/*  MEDIA QUERIES  */

@media screen and (min-width: 1260px) and (max-width: 1500px) {
  .mission-title {
    font-size: 290px;
  }
  .about-title {
    font-size: 250px;
  }
  .investors-title {
    font-size: 235px;
  }
  .contact-title {
    font-size: 225px;
  }
}

@media screen and (min-width: 1050px) and (max-width: 1260px) {
  .mission-title {
    font-size: 220px;
  }
  .about-title {
    font-size: 180px;
  }
  .investors-title {
    font-size: 180px;
  }
  .contact-title {
    font-size: 160px;
  }
}

@media screen and (min-width: 950px) and (max-width: 1050px) {
  .mission-title {
    font-size: 200px;
  }
  .about-title {
    font-size: 150px;
  }
  .investors-title {
    font-size: 150px;
  }
  .contact-title {
    font-size: 135px;
  }
}


@media screen and (min-width: 950px) and (max-width: 1260px) {
  .paragraph-uno {
    height: 70%;
    width: 70%;
  }
  .paragrafo {
    font-size: 35px;
    line-height: 48px;
  }
}


@media only screen and (max-width: 950px) {
  a {
    -webkit-tap-highlight-color: transparent;
  }
  a:focus, a:active,   .fa-bars:active, .fa-bars:focus, .fa-xmark:active, .fa-xmark:focus {
    outline: none;
    background-color: transparent;
  }

  header {
    position: static;
    background-color: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .logo {
    display: none;
  }
  .logo-inline-button {
    display: flex;
    justify-content: space-between;
    align-content: center;
    gap: 100px;
  }
  .logo-inline-button #icon {
    display: block;
    width: 25px;
    vertical-align: middle;
  }
  nav {
    z-index: 100;
    background-color: white;
    width: 100vw;
    height: 130vh;
    text-align: center;
    display: none;
    overflow: hidden;
  }
  .inv-body header {
    background-color: #141414!important;
  }
  .inv-body nav {
    background-color: #141414;
  }
  .inv-body #icon {
    color: white;
  }
  .inv-lbr .fa-globe {
    color: white!important;
  }
  .inv-lbr .selected-lang-responsive {
    color: white;
  }
  nav.show {
    display: block;
  }
  .nav_links li, .nav_links.inv-nav li {
    display: list-item;
    padding: 40px 0 40px 0;
    font-size: 25px;
  }
  .language-button {
    display: none;
  }
  .language-button-responsive {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: row!important;
    gap: 8px;
    font-weight: 700;
    padding-top: 40px;
    font-size: 21px;
  }

  .language-button-responsive .pg-it {
    border-radius: 5px 0px 0px 5px;
    padding: 1.5px 5px 1.5px 6.4px;
  }
  .language-button-responsive .pg-en {
    border-radius: 0px 3px 3px 0px;
    padding: 1.5px 5.4px 1.5px 5px;
  }

  .fa-xmark {
    font-size: 35px;
  }

  #section1, #section2 {
    overflow: hidden;
  }
  .squares-box, .squares-box-2, .squares-box-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 200vh;
    width: 100vw;
  }
  .quadrato {
    width: 100vw;
    min-height: 100vh;
    object-fit: cover;
  }
  .zero {
    order: 2;
  }
  .uno {
    order: 1;
  }
  .due {
    order: 3;
  }
  .tre {
    order: 4;
  }
  .quattro {
    order: 6;
  }
  .cinque {
    order: 5;
  }

  /*   FOOTER   */

  .logo-footer {
    height: 100px;
  }
  .end-page, .end-page-inv {
    flex-wrap: wrap;
  }
  .column-1 {
    flex-basis: 100%;
    padding-bottom: 35px;
  }
  .column-2, .column-2-inv, .column-3, .column-3-inv {
    padding-left: 0;
    border-left: 0;
  }

  .copyright-box .copyright-flex, .copyright-box .copyright-flex-inv {
    flex-direction: column;
    row-gap: 10px;
  }

  /*   MISSION BODY   */


  .mission-container {
    padding: 0;
  }
  .mission-title {
    font-size: 190px;
  }
  .mission-one {
    padding-left: 50px;
    font-size: 50px;
  }
  .mission-container .text-body {
    font-size: 18px;
  }
  .text-1 {
    line-height: 30px;
  }
  .text-box .unibo-img {
    object-fit: cover;
  }
  .text-box .logo-spiegato {
    object-fit: contain;
  }

  /*  ABOUT-US BODY  */

  .about-title {
    font-size: 135px;
  }

  /*  INVESTORS BODY  */

  .investors-title {
    font-size: 140px;
  }
  .mission-two {
    padding-left: 50px;
  }
  .inv-body .mission-container img {
    object-fit: cover;
  }

  .contact-title {
    font-size: 125px;
  }
}


/*  TABLETS - MAX-WIDTH: 760px  */

@media screen and (max-width: 760px) {
  .p-video {
    width: 100%;
    height: auto;
  }
  .text-box {
    flex-wrap: wrap;
  }
  .text-box img {
    flex-basis: 100%;
    order: 1;
  }
  .text-body {
    padding: 0 50px 50px 50px;
    order: 2;
  }
  .about-title {
    font-size: 115px;
  }
  .contact-title {
    font-size: 105px;
  }
  .end-page, .end-page-inv {
    padding: 40px;
  }
  .column-3, .column-3-inv {
    flex-basis: 100%;
  }
  .investors-title {
    font-size: 110px;
  }
  .copyright-box {
    padding: 40px;
  }
}

@media screen and (max-width: 570px) {
  .logo-inline {
    height: 60px;
  }
  .logo-inline-button {
    gap: 55px;
  }
  .about-title {
    font-size: 95px;
  }
  .investors-title {
    font-size: 85px;
  }
  .contact-title {
    font-size: 75px;
  }
  .tag {
    background-color: transparent;
    height: 1px;
    width: 1px;
    left: 0;
    top: 80px;
    padding-left: 30px;
  }
  .p1-p1_1 {
    font-size: 45px;
    line-height: 47px;
  }
  .startup-startup_1 {
    font-size: 17px!important;
  }
  .tag_2 {
    flex-direction: column;
    text-align: left;
  }
  .sign-logo {
    height: 35px;
    padding: 5px 0 20px 0;
    align-self: flex-start;
  }
  .startup, .startup_1 {
    background-color: rgba(0,0,0,0.3);
  }
  .paragraph-uno {
    height: 75%;
    width: 75%;
  }
  .paragrafo {
    font-size: 32px;
    line-height: 38px;
  }
  .sottotitolo {
    padding-bottom: 20px!important;
  }
  .title-law {
    font-size: 32px;
  }
  .latte-text {
    padding: 20px 20px 10px 20px;
    overflow: hidden;
  }

}

/*   SMARTPHONES - MAX-WIDTH: 480px   */

@media screen and (max-width: 480px) {

  /*  HEADER AND FIRST PART (hamburger pic)  */

  .logo-inline {
    height: 45px;
  }
  .logo-inline-button {
    gap: 65px;
  }
  .p1-p1_1 p{
  width: 67vw;
  }

  .paragrafo {
    font-size: 30px;
    padding-bottom: 13px;
    line-height: 40px;
  }


  /*  MISSION BODY  */


  .mission-title {
    font-size: 85px;
  }
  .text-body {
    padding: 0 20px 20px 10px;
    order: 2;
  }
  .text-box img {
    padding: 0;
  }
  .mission-one, .mission-two {
    padding-left: 10px;
    font-size: 40px;
    line-height: 36px;
  }
  .title-acqua, .title-energia, .title-gas {
    line-height: 28px;
  }
  .about-title {
    font-size: 76px;
  }
  .investors-title {
    font-size: 70px!important;
  }
  .contact-title {
    font-size: 65px;
  }
  .contact-page {
    padding-left: 10px;
  }
}
